<!--
 * @file about
 * @author its-wild(https://gitee.com/its-wild)
 * @date 2022/07/27
-->
<template>
  <div>about</div>
  <h1>{{ user?.name }}</h1>
</template>

<script lang="ts">
import { computed, defineComponent } from 'vue'
import { useUserStore } from '@/store/user'

export default defineComponent({
  setup() {
    const store = useUserStore()
    return {
      user: computed(() => store.user)
    }
  },
})
</script>

<style scoped lang="less">
</style>
